<!DOCTYPE html>
	<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:p="http://primefaces.org/ui">
	  
	  <h:head>
		<h:outputScript library="javax.faces" name="jsf.js" />
		<h:outputScript library="primefaces" name="jquery/jquery.js" />	
	  </h:head>
	  <h:body>
	  	<p:dataTable var="acesso" value="#{acessoService.findAll()}">
	  		<p:column headerText="ID">  
            	<h:outputText value="#{acesso.id}" contenteditable="true"/>  
       		</p:column>  
	        <p:column headerText="Login">  
	            <h:outputText value="#{acesso.login}" contenteditable="true"/>  
	        </p:column>  
	        <p:column headerText="Senha">  
	            <h:outputText value="#{acesso.senha}" contenteditable="true"/>  
	        </p:column>
	        <p:column headerText="Deletar">
	        	<a href='/sgr/delete?id=#{acesso.id}'>Deletar</a>
	        </p:column>
	        <p:column headerText="Editar">
	        	<a href="/sgr/edit?id=#{acesso.id}">Editar</a>
	        </p:column>
	  	</p:dataTable>
	  </h:body>
</html>